{temp('html/recruit/pc/head')}
<script>
function qxsc(){
	var check = $('input:checkbox[name="xuan"]:checked');
	var id = '';
	check.each(function(i){
		id += this.value + ',';
	});
	$.post('{$_url}/?act=ruser&met=sc_del',{id:id},function(data){
		if(data == '删除成功'){
			location.href='{$_url}/?act=ruser&met=sc';
		}else{
			alert(data);
		}
	});
}
</script>
</head>
<body>
	{temp('html/recruit/pc/ruser/toubu')}

		<!--主体内容-->
		<div class="w_bai dis_inline t_m10 t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--左侧-->
				<div class="w_286 f_l c_656565 bc_FFF bor_C6 xddw" style="margin-top:-64px">
					<!--右阴影图片-->
					<div class="f_r xddw" style="margin-right:-38px;margin-top:-1px">
						<img src="{$style}/images/yinying_you2.png">
					</div>
					<!--右阴影图片结束-->
					<!--标题-->
					<div class="h_50 l_h50 f_s18 bc_127ABF c_FFF t_l">
						<span class="l_m20">应聘记录</span>
					</div>
					<!--标题结束-->
					<!--列表-->
					<div id="geren_zuo">
						<ul>
							<li id="list2">
								<a href="{$_url}/?act=ruser&met=apply">应聘记录</a>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
	
							<li id="list">
								<a href="{$_url}/?act=ruser&met=sc">职位收藏</a>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
						</ul>
					</div>
					<!--列表结束-->
				</div>
				<!--左侧结束-->
				<!--右侧-->
				<div class="w_804 l_m5 f_r bc_FFF bor_C6">
					<!--标题-->
					<div class="t_m15 l_m20 t_l">
						<span class="f_s20 c_323131">职位收藏</span>
						<span class="c_7D7D7D">（收藏的职位)</span>
					</div>
					<!--标题结束-->
					<!--分割线-->
					<div class="bor_C6 bor_di_none t_m10"></div>
					<!--分割线结束-->
					<!--内容-->
					<div class="t_m25 l_m20 c_656565">
						{if(@$rs)}
						<!--列表-->
						<div id="table">
							<li class="bc_D1D1D1">
								<div class="left1">&nbsp;</div>
								<div class="left2">企业/专家名称</div>
								<div class="left2">职位名称</div>
								<div class="right2">收藏时间</div>
							</li>
			  	   	     	{foreach($rs as $k=>$v)}
			  	   	     	<li>
								<div class="left1">
									<input type="checkbox" name="xuan" value="{$v['id']}" style="margin:12px!important;margin:7px" />
								</div>
								<div id="title" class="left2 c_1379BF">
									<a href="{$_url}/?act=firm&met=gw_xx&qid={$v['qid']}&type={$v['type']}">{$v['qyname']}</a>
								</div>
								<div id="title" class="left2 c_1379BF">
									<a href="{$_url}/?act=firm&met=gw_xxs&id={$v['zid']}&qid={$v['qid']}">{$v['zwname']}</a>
								</div>
								<div class="right2">{code(echo date('Y-m-d H:i:s',$v['time']))}</div>
							</li>
			  	   	     	{/foreach}
						</div>
						<!--列表结束-->
						<div class="qfd"></div>
						<!--翻页-->
						<div id="zhuce" class="f_l w_jiu" style="margin-top:25px!important;margin-top:0px">
							{pager($rscount,$pagesize)}
						</div>
						<!--翻页结束-->
						<!--删除历史-->
						<div class="w_bai b_m20 t_m10 dis_inline t_l">
							<div class="w_120 h_35 l_h35 bc_E16400 c_FFF t_c point" onClick="qxsc()">
								删除历史
							</div>
						</div>
						<!--删除历史结束-->
						{else}
						<div class="b_m20">
							暂无收藏职位
						</div>
						{/if}
					</div>
					<!--内容结束-->
				</div>
				<!--右侧结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->
{temp('html/recruit/pc/foot')}